package com.designpatterns.proxypattern.interceptor;

public class TestMyInterceptor {
    public static void main(String[] args) {
        HelloWorld helloWorld = new HelloWorldImpl();
        HelloWorld helloWorldProxy = InterceptorJDKProxy.getProxy(helloWorld,MyInterceptor.class);
        helloWorldProxy.sayHello();
    }
}
